package com.dic.dao.model;

public class User {
    
	private int id;
	private String username;
	private String password;
	private String role;
	private String ip;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public User(){  //����������յ����غ���
		
	}
	public User(int id,String username,String password,String role,String ip){
		this.id=id;
		this.username=username;
		this.password=password;
		this.role=role;
		this.ip=ip;
	}
	public User(String username,String password,String role){
		this.username=username;
		this.password=password;
		this.role=role;
	}
	public User(String username,String password){
		this.username=username;
		this.password=password;
	}

	
}
